package cn.kgc.crowdfundingadmin03.service;

import cn.kgc.crowdfundingadmin03.pojo.Admin;
import cn.kgc.crowdfundingadmin03.pojo.Advertisement;
import cn.kgc.crowdfundingadmin03.pojo.Message;
import cn.kgc.crowdfundingadmin03.pojo.Role;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface MessageService {
    //分页
    public PageInfo<Message> queryForKeywordWithPage(
            Integer pageNum,
            Integer pageSize,
            String keyword);
    //修改
    public void updateRole(Message advertisement);
    /*根据id查询某条数据*/
    //根据id查询
    public List<Message> getRoleListByIdList(List<Integer> roleIdList);
}
